package org.ruoyi.interview.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import org.ruoyi.interview.domain.InterviewQuestionFavorite;
import org.ruoyi.interview.domain.vo.InterviewQuestionFavoriteCategoryVo;
import org.ruoyi.interview.domain.vo.InterviewQuestionFavoriteVo;
import org.ruoyi.interview.domain.bo.InterviewQuestionFavoriteBo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * 面试题收藏Mapper接口
 *
 * @author ruoyi
 */
@Mapper
public interface InterviewQuestionFavoriteMapper extends BaseMapperPlus<InterviewQuestionFavorite, InterviewQuestionFavoriteVo> {

    /**
     * 分页查询收藏题目列表
     * @param page 分页参数
     * @param bo 查询条件
     * @return 收藏题目列表
     */
    IPage<InterviewQuestionFavoriteCategoryVo> selectFavoriteQuestionVoPage(IPage<InterviewQuestionFavoriteVo> page, @Param("bo") InterviewQuestionFavoriteBo bo);
}
